var Button = require('../../../src/libs/button');
/*var Button = UcsmyUI.Button;*/
var Root = React.createClass({
    handler: function() {
        console.log('点击事件');
    },
    render:function(){
        return <div>
            <Button id="btn1" value="确定" className="ucs-btn-confirm" onclick={this.handler}/>
            <Button value="取消" className="ucs-btn-cancel" />
            <Button value="立即投标" className="ucs-btn-bidnow" />
            <Button value="预热中" className="ucs-btn-wait" />
            <Button value="已完成" className="ucs-btn-completed" />
            <Button value="已满标" className="ucs-btn-full" />
            <Button value="禁用样式" className="ucs-btn-disabled" />
            <Button value="块状按钮" className="ucs-btn-confirm ucs-btn-block" />
            <Button value="表单验证码" className="ucs-btn-code" />
            <Button value="大按钮" className="ucs-btn-confirm ucs-btn-large" />
            <Button value="小按钮" className="ucs-btn-confirm ucs-btn-small" />
            <Button value="a标签" className="ucs-btn-confirm" href="http://www.ucsmy.com"/>
        </div>
    }
});
ReactDOM.render(<Root/>, document.getElementById('main'));
